<?php
//Show errors
error_reporting(E_ALL);
ini_set('display_errors', '1');
//Get required classes
require_once 'Controller/LoginController.php';
require_once 'Controller/FileUploadController.php';
require_once 'Controller/MasterController.php';
require_once 'Controller/RegisterController.php';
require_once 'Model/LoginHandler.php';
require_once 'Model/RegisterHandler.php';
require_once 'Model/FileUploadHandler.php';
require_once 'View/LoginView.php';
require_once 'View/RegisterView.php';
require_once 'View/GeneralView.php';
require_once 'View/FileUploadView.php';
require_once 'Validate.php';
require_once 'TestAll.php';
//Start session
session_start();
// Automatic testing
$testing = new TestAll();
$testing -> testCookies();
$testing -> testLH();
$testing -> testValidation();
$testing -> testRegistering();
// Set title
$title = "test lab3";
?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<link rel="stylesheet" type="text/css" href="style.css" />
		<title><?php echo $title;?></title>
	</head>
	<body>
		<?php
		?>
	</body>
</html>
